use core::time::Duration;

use crate::{Button, Phase};

#[derive(Debug, Clone)]
pub struct Touch {
	pub button: Button,
	pub phase: Phase,
	pub point: (f32, f32),
	pub time: Duration,
	pub force: u32,
}
impl Touch {
	pub fn new(button: Button, phase: Phase, point: (f32, f32), force: u32, time: Duration) -> Self {
		Self {
			button,
			phase,
			point,
			force,
			time,
		}
	}
}
